package com.cskaoyan.day30.work1._01isingleton;

public class MySingleton2 {
    private static MySingleton2 mySingleton2;
    private MySingleton2(){
    }
    public static MySingleton2 getInstance(){
        if (mySingleton2 == null){
            mySingleton2 = new MySingleton2();
        }
        return mySingleton2;
    }


}
